package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.BigClient;
import cn.wolfcode.crm.domain.Examination;
import cn.wolfcode.crm.query.QueryForObject;

import java.util.List;

public interface ExaminationMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Examination record);

    Examination selectByPrimaryKey(Long id);

    List<Examination> selectAll();

    int updateByPrimaryKey(Examination record);

//    高级查询用
    int queryForTotal(QueryForObject qo);

    List<Examination> queryForList(QueryForObject qo);

    void check(Examination record);

    void deleteByPotentialCustomerId(Long id);
}